from flask import Flask

import os

app = Flask(__name__)

# from TikTok.selenium_chromedriver import *


@app.route('/')
def index():
    print('正在执行爬虫项目！！！')
    # os.system('python selenium_chromedriver.py')
    os.system('python 接口式获取数据并提交数据至易仓.py')
    return 'l'


if __name__ == '__main__':
    app.run(host='0.0.0.0', debug=True, port=8888)
